package com.orange.cetback.service;

import com.orange.cetback.pojo.entity.Questions;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chenenjun
 * @since 2025-02-16
 */
public interface QuestionsService extends IService<Questions> {

    List<Questions> getQuestionsByMaterialId(Integer materialId);

    List<Questions> getQuestionsOptionsByMaterialId(Integer materialId);

    void saveQuestions(List<Questions> questions);
}
